<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Pagina extends CI_Controller {

	public function home(){
		$data['page'] = "pages/home";
		$data['title'] = "Página Inicial";
		$this->load->view('template',$data);
	}
	
	public function lingerie($id=''){
		$data['page'] = ($id)? "pages/galleries/lingerie":"pages/lingerie";
		$data['title'] = "Lingerie";
		$this->load->view($data['page'],$data);
	}
	
	public function acessorios($id=''){
		$data['page'] = ($id)? "pages/galleries/acessorios":"pages/acessorios";
		$data['title'] = "Acessórios";
		$this->load->view($data['page'],$data);
	}
	
	public function books($id=''){
		$data['page'] = ($id)? "galleries/books":"pages/books";
		$data['title'] = "Books";
		$this->load->view($data['page'],$data);
	}
	
	public function loja(){
		$data['page'] = "pages/loja";
		$data['title'] = "Loja";
		$this->load->view($data['page'],$data);
	}
	
	public function comochegar(){
		$data['page'] = "pages/comochegar";
		$data['title'] = "Como Chegar";
		$this->load->view($data['page'],$data);
	}
	
	public function clean(){}
}

/* End of file pagina.php */
/* Location: ./application/controllers/pagina.php */